package com.xzg.permission.entity;

import com.xzg.integral.entity.Integral;

import java.util.List;

public class Permission {
    private Long pId;

    private String permission;

    private String permissionDescription;

    private List<Integral> integral;

    public List<Integral> getIntegral() {
        return integral;
    }

    public void setIntegral(List<Integral> integral) {
        this.integral = integral;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission == null ? null : permission.trim();
    }

    public String getPermissionDescription() {
        return permissionDescription;
    }

    public void setPermissionDescription(String permissionDescription) {
        this.permissionDescription = permissionDescription == null ? null : permissionDescription.trim();
    }
}